﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HPSocketLibrary.Devices
{
    /// <summary>
    /// 基础消息体
    /// </summary>
    public class MtMsgBase
    {
        public MtIntfaceMsgFormat_Head? head { get; set; }
    }

    /// <summary>
    /// 指定类型的消息体
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class MtMsgBase<T> : MtMsgBase
    {
        /// <summary>
        /// 指定类型的消息
        /// </summary>
        public T? body { get; set; }
    }
}
